//
//  BBNodeValuesView.h
//  xNose
//
//  Created by ben smith on 9/10/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "BBNodeView.h"


@interface BBNodeValuesView : BBNodeView {
	NSTextField * cost;
	NSTextField * income;
	NSTextField * profit;
	NSTextField * boldTitle;
	BOOL isEditable;
}

@property (assign) BOOL isEditable;

- (NSFont*)font;
- (NSTextField*)fieldWithFrame:(NSRect)frame;
- (id)initWithFrame:(NSRect)frame ;
- (void) dealloc
;
- (void)controlTextDidEndEditing:(NSNotification *)aNotification;
- (void)fieldDone:(id)sender;
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context;
- (void)setNode:(BBNode*)aNode;
- (void)setupTextAttributes;
- (void)updateFields;

// 10 methods


@end
